package com.luo.service;

import com.luo.dao.impl.SlideshowDaoImpl;
import com.luo.model.SlideShowVO;

import java.util.List;
import java.util.Map;

/**
 * 功能：
 * 作者：Luo。
 * 日期：2024/3/18 8:49
 */
public class SlideShowService {
	SlideshowDaoImpl slideshowDao = new SlideshowDaoImpl();

	public List<SlideShowVO> querySlideShow() {
		List<SlideShowVO> slideShowVOS = slideshowDao.querySlideShow();
		return slideShowVOS;
	}

	public int updateSlideShow(Map map) {
		int i = slideshowDao.updateSlideShow(map);
		return i;
	}
}
